package com.xxyf.service;

import com.xxyf.domain.PageParams;
import com.xxyf.entity.Message;
import com.xxyf.entity.Reply;
import com.xxyf.tools.Rest;

public interface MessageService {
    Rest delete(String pid, Long id, Long userid);

    Rest insert(Reply reply);

    Rest crate(Message message);

    Rest query(PageParams pageParams,Long userid);

    Rest like(String type, Long pid, Long userid);

    Rest notLike(String type, Long pid, Long userid);
}
